# 01-异常演示.py
try:
    f = open('./test.txt','r',encoding="utf-8")
except:
    print('文件可能不存在，或者路径错误！')
    f = open('./test.txt','w',encoding="utf-8")
    f.write('1234')
print(123)